Skip to content

Feature/edr compliance#14

Merged
scranford1 merged 14 commits intodevelopfrom
feature/edr-compliance
Feb 6, 2026
Merged

Feature/edr compliance#14
scranford1 merged 14 commits intodevelopfrom
feature/edr-compliance

Conversation

@scranford1
Copy link
Copy Markdown

Improvements to the EDR endpoints to get closer to V1.1.0 Standard Compliance. The conformance will still be stated as 1.0.1 until we deem it time to change over.

@scranford1 scranford1 force-pushed the feature/edr-compliance branch from 6d1d911 to 6bc4887 Compare February 3, 2026 19:27
@scranford1 scranford1 marked this pull request as ready for review February 3, 2026 20:54
@scranford1 scranford1 requested a review from jdw-creare February 3, 2026 21:06
Copy link
Copy Markdown
Contributor

@jdw-creare jdw-creare left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good to me, thanks Sam!

"temporal": {
"interval": [iso_times[0], iso_times[-1]] if len(iso_times) > 0 else [],
"values": iso_times,
"trs": trs,
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this need a default value in case someone passes in None? I think json.dumps() will serialize None as null, which might be what EDR expects anyway.

I got here by wondering if the line reading trs = collection_configuration[dataset]["extents"]["temporal"].get("trs") needs a default on the get() call, which would be another place to provide a default if that makes more sense.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The standard specifies 'trs' as a required string. So I think any empty string or null is probably non-compliant. In our case, the collection_configuration trs should always exist. I could copy the configuration value to also be the default, but to me that seemed like doubling up.

@jdw-creare
Copy link
Copy Markdown
Contributor

Let me know if you want to make any of those optional changes, otherwise feel free to merge or let me know and I'll merge.

@scranford1
Copy link
Copy Markdown
Author

Let me know if you want to make any of those optional changes, otherwise feel free to merge or let me know and I'll merge.

Thanks @jdw-creare, I will look through these and address them! (I will plan on merging it in once I am done).

@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud bot commented Feb 6, 2026

@scranford1 scranford1 merged commit 2353f69 into develop Feb 6, 2026
7 of 8 checks passed
@scranford1 scranford1 deleted the feature/edr-compliance branch February 6, 2026 15:09
@scranford1 scranford1 restored the feature/edr-compliance branch February 17, 2026 13:35
@scranford1 scranford1 deleted the feature/edr-compliance branch February 17, 2026 13:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants